package com.focus.xyz.union.pages.frontend.forms;

import com.focus.xyz.core.common.keyword.Action;
import com.focus.xyz.core.pages.BaseForm;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;

import java.util.List;

/**
 * Created by chenmeng on 2016/4/20.
 */
public class RegisterForm extends BaseForm {
    private Action action;
    @FindBy(id = "form")
    private WebElement registerForm;

    public RegisterForm(WebDriver driver,Action action){
        super(driver,action);
        this.action = action;
        PageFactory.initElements(driver,this);
    }

    @Override
    protected List<WebElement> getAllElements() throws Exception {
        return null;
    }
}
